import http from '../utlis/https'
// 系统公告列表渲染
export const GetNoticeList = params => http.request({
    url: '/dai/query/opennotice',
    method: 'get',
    params
  })
  // 系统公告添加
export const AddNotice = data => http.request({
    url: '/dai/add/opennotice',
    method: 'POST',
    data
  })
  // 系统公告修改
  export const EditNotice = data => http.request({
    url: 'dai/update/opennotice?id=' + data.id,
    method: 'post',
    data
  })
  // 系统公告删除
  export const DelNotice = data => http.request({
    url: 'dai/remove/opennotice',
    method: 'post',
    data
  })